package com.bristua.barcode.customer.dao;

import com.bristua.barcode.customer.model.TCustomerBindSupplier;
import com.bristua.barcode.customer.model.condition.TCustomerBindSupplierExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCustomerBindSupplierMapper {
    long countByExample(TCustomerBindSupplierExample example);

    int deleteByExample(TCustomerBindSupplierExample example);

    int deleteByPrimaryKey(String bindId);

    int insert(TCustomerBindSupplier record);

    int insertSelective(TCustomerBindSupplier record);

    List<TCustomerBindSupplier> selectByExample(TCustomerBindSupplierExample example);

    TCustomerBindSupplier selectByPrimaryKey(String bindId);

    int updateByExampleSelective(@Param("record") TCustomerBindSupplier record, @Param("example") TCustomerBindSupplierExample example);

    int updateByExample(@Param("record") TCustomerBindSupplier record, @Param("example") TCustomerBindSupplierExample example);

    int updateByPrimaryKeySelective(TCustomerBindSupplier record);

    int updateByPrimaryKey(TCustomerBindSupplier record);

    int batchUpdate(@Param("recordList") List<TCustomerBindSupplier> recordList);

    int batchInsert(@Param("recordList") List<TCustomerBindSupplier> recordList);

    int batchDelete(@Param("ids") String[] ids);
}